﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <title>${r'$'}{setting.siteName} - ${scheme.moduleName}详情</title>
    <meta name="keywords" content="${r'$'}{setting.siteName}">
    <meta name="description" content="${r'$'}{setting.siteName}">
    <!-- BEGIN HEADER -->
[#include "/admin/include/style.ftl"]
    <!-- END HEADER -->
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content  animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>${scheme.moduleName}详情</h5>
                    <div class="ibox-tools">
                        <button type="button" class="btn btn-outline btn-white btn-xs" id="btn-return-loippi"
                                onclick="location.href='${r'$'}{base}/admin/${classNamePath}/list.jhtml'"><i
                                class="fa fa-reply-all"></i> 返回列表
                        </button>
                    </div>
                </div>
                <div class="ibox-content">
                    <form id="inputForm" class="form-horizontal" action="update.jhtml" method="post">
                        <input type="hidden" value="${r'$'}{${table.className?uncap_first}.${table.classPk}}"
                               name="${table.classPk}"/>

                        <#list table.columns?chunk(2) as row>
                                <div class="form-group">
                                    <div class="row">
                                        <#list row as column>
                                            <#if column.pk != 1>
                                                <div class="col-sm-6">
                                                    <label class="col-sm-3 control-label">
                                                        <#if column.nullable != 1><span class="required"> * </span>
                                                        </#if>${column.comments}</label>
                                                    <div class="col-sm-9">
                                                        <p class="form-control-static">${r'$'}{(${table.className?uncap_first}.${column.javaField}<#if column.javaType='java.util.Date'>?string('yyyy-MM-dd'))!''<#else>)!''</#if>}</p>
                                                    </div>
                                                </div>
                                            </#if>
                                        </#list>
                                    </div>
                                </div>
                            <!--/row-->
                        </#list>

                        <div class="hr-line-dashed"></div>
                        <div class="form-group">
                            <div class="col-sm-12 col-sm-offset-10">
                                <button type="button" class="btn btn-default" onclick="window.history.back();">返回
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- BEGIN Script -->
[#include "/admin/include/script.ftl"]
<!-- END Script -->
</body>
</html>
